home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / networking / pgpuam / sources / tsetuppane.h < prev   
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  58 lines

  1. //    TSetupPane.h -  AppleShare IP Dialog Pane Object
  2. // 
  3. // Apple Macintosh Developer Technical Support
  4. // Written by:  Vinnie Moscaritolo
  5. //
  6. //  Copyright (work in progress)  Apple Computer, Inc All rights reserved.
  7. //
  8. // You may incorporate this sample code into your applications without
  9. // restriction, though the sample code has been provided "AS IS" and the
  10. // responsibility for its operation is 100% yours.  However, what you are
  11. // not permitted to do is to redistribute the source as "DSC Sample Code"
  12. // after having made changes. If you're going to re-distribute the source,
  13. // we require that you make it clear in the source that the code was
  14. // descended from Apple Sample Code, but that you've made changes.
  15. // 
  16.  
  17. #pragma once 
  18.  
  19. #include "TPane.h"
  20. #include "TPGPUAMPrefs.h"
  21.  
  22.  
  23.  
  24. // ---------------------------------------------------------------------------
  25. //     TSetupPane  - base class for Dialog Pane Object
  26. // ---------------------------------------------------------------------------
  27. // 
  28. class TSetupPane : public TPane
  29. {
  30. public:
  31.   
  32. //     CONSTRUCTORS AND DESTRUCTORS
  33.               TSetupPane( DialogPtr dialog, SInt16 origItems, TPGPUAMPrefs* prefs);
  34.              
  35.     virtual  ~TSetupPane();    
  36.  
  37. // MAIN INTERFACE
  38.     virtual void Refresh();
  39.     virtual void ItemHit(SInt16 item);
  40.     virtual void Idle() ;
  41.     
  42. // PRIVATE FIELDS
  43. protected:
  44.     TPGPUAMPrefs*  fPrefs;
  45.     ControlHandle  fCachePassPhrase;
  46.     ControlHandle  fCacheTimeLimit;
  47.     ControlHandle  fTick1;
  48.     ControlHandle  fTick2;
  49.     ControlHandle  fTick3;
  50.     ControlHandle  fTickLast;
  51.     
  52.     ControlHandle  fAuthServer;
  53.     ControlHandle  fOption1;
  54.     ControlHandle  fOption2;
  55.  
  56.  };
  57.  
  58.